Comparing values with assertions